window: Implement gtk_window_destroy
authorMatthias Clasen <mclasen@redhat.com>
Sat, 9 May 2020 19:20:59 +0000 (15:20 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 11 May 2020 16:20:59 +0000 (12:20 -0400)
commit6aebedb8bc9ec17e11f4f6b83f774ab2bf893e2d
treeddae8c20361e514855d6375ae83e9cd470b76860
parent025375ff5f244bbf22b9bd932148dfefc3dce82d
window: Implement gtk_window_destroy

Don't call gtk_widget_destroy; instead implement
gtk_window_destroy outselves by removing the window
from the toplevel lista and dropping the reference that
GTK holds.
gtk/gtkwindow.c